import request from '@/utils/request'

// 查询支付平台列表
export function list(query) {
  return request({
    url: '/sys/sysPaymentPlatform/query',
    method: 'post',
    data: query
  })
}
// 修改支付平台
export function edit(query) {
  return request({
    url: '/sys/sysPaymentPlatform/edit',
    method: 'post',
    data: query
  })
}
// 新增支付平台
export function add(query) {
  return request({
    url: '/sys/sysPaymentPlatform/add',
    method: 'post',
    data: query
  })
}
// 查询支付平台列表
export function del(id) {
  return request({
    url: `/sys/sysPaymentPlatform/delete/${id}`,
    method: 'delete',
  })
}

//查询用户充值提现通道提现
export function statistics(data) {
  return request({
    url: `/sys/app/user/channel/statistics`,
    method: 'post',
    data:data,
  })
}
